package cn.setting;
import lombok.Data;

import java.awt.*;
import java.io.Serializable;
/**
 * 二维码图片的画布相关参数设置
 * @author xbsoft2
 */
@Data
public final class CanvasSetting implements Serializable {
  public static final long serialVersionUID = 1L;
  public CanvasSetting() {
    width = 300;
    height = 325;
    color = new Color(255,255,255).getRGB();
  }

  /**
   * 画布宽
   */
  private Integer width;
  /**
   * 画布高
   */
  private Integer height;
  /**
   * 画布颜色
   */
  private Integer color;

}
